Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Update factory_bot requirement from 4.10.0 to 5.1.1 #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Updates the requirements on factory_bot to permit the latest version.

Release notes

Sourced from factory_bot's releases.

v5.1.1

  • Improved: performance of traits
  • Fixed: registering strategies on JRuby
Changelog

Sourced from factory_bot's changelog.

5.1.1 (October 2, 2019)

  • Improved: performance of traits
  • Fixed: registering strategies on JRuby

5.1.0 (September 21, 2019)

  • Added: "Did you mean?" style error message to help with typos in association declarations
  • Changed: NoMethodError for static attributes now offers a "Did you mean?" style message
  • Fixed: avoid undefining inherited evaluator methods
  • Fixed: avoid stubbing id for records without a primary key
  • Fixed: raise a helpful error for self-referencing traits to avoid a SystemStackError
  • Deprecated: top-level methods meant only for internal use: allow_class_lookup, allow_class_lookup=, register_trait, trait_by_name, traits, sequence_by_name, sequences, factory_by_name, register_factory, callback_names, register_callback, register_default_callbacks, register_default_strategies, strategies

5.0.2 (February 22, 2019)

  • Bugfix: raise "Trait not registered" error when passing invalid trait arguments

5.0.1 (February 15, 2019)

  • Bugfix: Do not raise error when two sequences have the same name
    in two traits that have the same name

5.0.0 (February 1, 2019)

  • Added: Verbose option to include full backtraces in the linting output
  • Changed: use_parent_strategy now defaults to true, so by default the
    build strategy will build, rather than create associations
  • Changed: Passing a block when defining associations now raises an error
  • Bugfix: use_parent_strategy is no longer reset by FactoryBot.reload
  • Bugfix: rewind_sequences will now rewind local sequences along with the global ones
  • Bugfix: the build_stubbed strategy now sets timestamps without changing the
    the original behavior of the timestamp methods
  • Bugfix: avoid a stack error when referring to an "attributes" attribute in initialize_with
  • Removed: support for EOL versions of Ruby and Rails
  • Removed: static attributes (use dynamic attributes with a block instead)
  • Removed: looking up factories by class
  • Removed: ignore method (use transient instead)
  • Removed: duplicate_attribute_assignment_from_initialize_with configuration option
  • Deprecated: allow_class_lookup configuration option

4.11.1 (September 7, 2018)

  • Documentation: Include .yardopts in the gem to fix broken RubyDoc links

4.11.0 (August, 15, 2018)

  • Bugfix: Do not raise error for valid build_stubbed methods: decrement, increment, and toggle
  • Bugfix: Do not add timestamps with build_stubbed for objects that shouldn't have timestamps
  • Deprecate static attributes

4.10.0 (May 25, 2018)

  • Allow sequences to be rewound

4.9.0 (skipped - FactoryGirl only release)

4.8.2 (October 20, 2017)

... (truncated)
Commits
  • 2e48817 Bump version to 5.1.1 [ci skip]
  • 24f6d21 Get default strategy registration working on JRuby
  • 94ce2be Add memoization to trait_for (#1333)
  • ad7a58d Bump version to 5.1.0 [ci skip]
  • 5ccc564 Fix self referencing trait error (#1294)
  • 831dcef Test against Rails 6.0.0
  • ecb5656 Use temporary assignment helper to silence deprecations in specs
  • 7722017 Adjust use_parent_strategy safely in specs
  • 9e104a6 Appraise ActiveRecord 6.0.0.rc2
  • eb6bccb Avoid time travel in tests
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants